package com.ruoyi.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 【请填写功能名称】对象 exa_expense
 *
 * @author ruoyi
 * @date 2020-07-01
 */
public class ExaExpense extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报销单主键 */
    private Long eId;

    /** 报销类型	 */
    @Excel(name = "报销类型")
    private Long eType;

    /** 报销原因	 */
    @Excel(name = "报销原因")
    private String eReason;

    /** 报销申请时间 */
    @Excel(name = "报销申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date eTimeStart;

    /** 申请人 */
    @Excel(name = "申请人")
    private String eTheHeir;

    /** 申请人 */
    @Excel(name = "创建人")
    private String eCreator	;

    /** 申请人 */
    @Excel(name = "申请人部门")
    private String eDepa;

    /** 申请人 */
    @Excel(name = "申请人头像")
    private String ePicture;

    public String geteCreator() {
        return eCreator;
    }

    public void seteCreator(String eCreator) {
        this.eCreator = eCreator;
    }

    public String geteDepa() {
        return eDepa;
    }

    public void seteDepa(String eDepa) {
        this.eDepa = eDepa;
    }

    public String getePicture() {
        return ePicture;
    }

    public void setePicture(String ePicture) {
        this.ePicture = ePicture;
    }

    /** 文件上传凭证 */
//    @Excel(name = "文件上传凭证")
    private String eRemark;

    /** 报销状态 */
//    @Excel(name = "报销状态")
    private Long eStatus;

    /** 审批意见 */
//    @Excel(name = "审批意见")
    private String eOpinion;

    /** 报销金额 */
    @Excel(name = "报销金额")
    private BigDecimal eMoney;

    public void seteId(Long eId)
    {
        this.eId = eId;
    }

    public Long geteId()
    {
        return eId;
    }
    public void seteType(Long eType)
    {
        this.eType = eType;
    }

    public Long geteType()
    {
        return eType;
    }
    public void seteReason(String eReason)
    {
        this.eReason = eReason;
    }

    public String geteReason()
    {
        return eReason;
    }
    public void seteTimeStart(Date eTimeStart)
    {
        this.eTimeStart = eTimeStart;
    }

    public Date geteTimeStart()
    {
        return eTimeStart;
    }
    public void seteTheHeir(String eTheHeir)
    {
        this.eTheHeir = eTheHeir;
    }

    public String geteTheHeir()
    {
        return eTheHeir;
    }
    public void seteRemark(String eRemark)
    {
        this.eRemark = eRemark;
    }

    public String geteRemark()
    {
        return eRemark;
    }
    public void seteStatus(Long eStatus)
    {
        this.eStatus = eStatus;
    }

    public Long geteStatus()
    {
        return eStatus;
    }
    public void seteOpinion(String eOpinion)
    {
        this.eOpinion = eOpinion;
    }

    public String geteOpinion()
    {
        return eOpinion;
    }
    public void seteMoney(BigDecimal eMoney)
    {
        this.eMoney = eMoney;
    }

    public BigDecimal geteMoney()
    {
        return eMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("eId", geteId())
                .append("eType", geteType())
                .append("eReason", geteReason())
                .append("eTimeStart", geteTimeStart())
                .append("eTheHeir", geteTheHeir())
                .append("eRemark", geteRemark())
                .append("eStatus", geteStatus())
                .append("eOpinion", geteOpinion())
                .append("eMoney", geteMoney())
                .toString();
    }
}